package com.clwl.supervise.superviseapp.entity.scan;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
    * 天津食品分类库
    */
@Data
@TableName(value = "TJ_FOODTYPE")
public class TjFoodtype implements Serializable {

    @TableId(value = "ID", type = IdType.AUTO)
    private String id;

    @TableField(value = "CODE")
    private String code;

    @TableField(value = "NAME")
    private String name;

    @TableField(value = "PARENT_ID")
    private String parentId;
    /**
     * 规范类型对应字典中的值
     */
    @TableField(value = "TYPE")
    private String type;

    @TableField(exist = false)
    private String text;

    @TableField(exist = false)
    private String value;


    private static final long serialVersionUID = 1L;
}
